#ifndef _GLOBALS_H_
#define _GLOBALS_H_

#include <cstdlib>

#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <math.h>

#include <assert.h>

#define BUZZ_USE_FONTS 0
#define BUZZ_USE_SDL_IMAGE 0

#include "Buzz.h"
#include "Viewport.h"

#define G 0.7f

#define COL_KEY ColourKey(0,128,128)

typedef unsigned char byte;

/* Game Config Values */
#define HUD_HEALTHBAR_X 64
#define HUD_HEALTHBAR_Y 21
#define HUD_HEALTHBAR_WIDTH 100
#define HUD_HEALTHBAR_HEIGHT 7
#define HUD_SCORE_X 63
#define HUD_SCORE_Y 31

#define ENTITY_TIME_BEFORE_FADEOUT 500
#define ENTITY_FADEOUT_DURATION 2000

#define PLAYER_SHAKE_DAMAGE 5
#define PLAYER_ATTACK_DAMAGE 30
#define PLAYER_PROJECTILE_DAMAGE 25
#define PLAYER_MAX_HEALTH 200
#define PLAYER_JUMP_VELOCITY 8

#define GRABBER_DAMAGE 1

#endif
